package com.haoze.nurse.feign;


import feign.Headers;
import feign.hystrix.FallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;


@Service
@Headers("Content-Type:application/json")
@FeignClient(name = "api-doctor" ,fallback = FallbackFactory.Default.class)
public interface DoctorPatientOrderService {
    /**
     * 创建下个节点
     * @param currentTaskExecuteDetailId
     * @param userId
     * @param groupId
     * @param msgContent
     * @param executeBeginTime  yyyy-MM-dd hh:mm:ss
     */
    @RequestMapping(value = "/nurse/order/createNextTaskNode", method = RequestMethod.GET)
    void createNextTaskNode(@RequestParam String currentTaskExecuteDetailId,@RequestParam Integer batchNo,  @RequestParam String userId,
                              @RequestParam String groupId, @RequestParam String msgContent,@RequestParam String executeBeginTime);

}
